package org.springframework.cloud.netflix.feign.ribbon;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@ConfigurationProperties(prefix = CanaryProperties.PREFIX)
public class CanaryProperties {
    static final String PREFIX = "canary";
    private Set<String> headers = new HashSet<>();
    private List<CanaryRule> rules = new ArrayList<>();
}
